package com.qf.dao;

import com.qf.pojo.HouseInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface HouseInfoDao {
    List<HouseInfo> findHouseByUid(Integer id);

    List<HouseInfo> findAllHouse();

    Integer addHouse(HouseInfo houseInfo);

    Integer updateHouse(HouseInfo houseInfo);

    Integer deleteHouseByHid(Integer hid);

}
